home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Utilities / PullProcess20 Folder / PullProcess ƒ / About PullProcess next >
Encoding:
Text File  |  1994-01-28  |  4.3 KB  |  96 lines  |  [ttro/ttxt]

  1.  
  2.  
  3. PullProcess 2.0
  4. January 1994
  5.  
  6. Introduction
  7.  
  8. PullProcess is a small utility that will pull a selected process (APPL) to the foreground at a user-specified time interval.  PullProcess was written because of performance problems on my multiline TeleFinder BBS.  TeleFinder 3.x consists of several small applications that talk to each other via appleevents.  If one of the BBS node servers is in the foreground, the performance on the other node servers suffers.  The answer is to have one of the other TeleFinder mini-applications, such as the CallerLog, always be in the foreground.
  9.  
  10. This problem could be taken care of by properly alphabetizing the aliases to the applications that TeleFinder needs within the Startup Items folder.  However, my BBS also runs Tabby, the FIDONet mailer for the Macintosh.  Every time a Tabby event occurs, all of the Tabby modules launch into the foreground, finally re-launching the BBS into the foreground.  In addition, Tabby is a CPU hog if it is in the foreground.  Beating Tabby into submission by forcing it into the background greatly improves the operation of the other BBS nodes during Tabby events.
  11.  
  12. Thus arose the need for PullProcess.  I have it set to scan the process list every 10 seconds and pull the TeleFinder  CallerLog application to the foreground.
  13.  
  14. Installation
  15.  
  16. PullProcess can be placed anywhere you want it, including on locked volumes.  The Startup volume, however, must be unlocked, since PullProcess makes freqent trips to the Preferences folder.  Put an alias to PullProcess into your Startup Items folder.
  17.  
  18. Configuration
  19.  
  20. Launch PullProcess and select "Select Process…" under the Options menu.  A StandardFile dialog box (Open…) comes up.  Select the application you want in the foreground (I chose Callerlog).
  21.  
  22. Then choose "Set Time Delay…" from the Options menu and select the time interval PullProcess will wait before forcing your selected application to the front.  The resulting dialog box looks like the following figure.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. Finally, you can optionally define a series of "Exceptions"; applications that, while running, disable PullProcess automatically.  This lets you define that, say, when you are logged on locally with TeleFinder/ User, then Callerlog won't pop to the front.  Also, certain Tabby modules don't eat up much CPU time, so it's just as well to run them in the foreground.  Examples of this are Export and Import.  The following figure illustrates the Exceptions dialog box.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. There is a "Pulling Enabled" command in the Options menu that lets you "turn off" the program, so that you aren't driven up the wall with Callerlog popping to the front while you are working on the BBS locally.   The shaded rectangle on the status window is green (or gray on B&W systems) when pulling is enabled, as shown on the following figure.  The status window shows the number of seconds before the chosen application is pulled to the foreground, and also shows the name of the application selected to be pulled in between the "<< >>".
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61. The shaded rectangle on the Status window is red (or dark gray on B&W systems) when pulling is disabled, as shown in the following figure.
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. Limitations
  71.  
  72. PullProcess requires System 7.  I figured this wouldn't be a problem since TeleFinder 3.x also requires System 7.  A limitation of PullProcess is that it can only pull applications to the front, and not other processes such as the Finder.  The process list is scanned by Creator, so changing versions of software shouldn't effect things.
  73.  
  74. Legal Stuff
  75.  
  76. PullProcess was written in MPW Pascal, with some help from Prototyper.
  77.  
  78. PullProcess is freeware, but is copyright © 1992, 1994 by Paul Lemieux. It can be distributed freely.  If you use it, I would really appreciate some EMail letting me know.  Also if you use it for some other purpose I'd like to know.
  79.  
  80. Paul Lemieux
  81. Triangle Mac Users Group
  82. 905 Union Street
  83. Cary, NC 27511
  84. AOL: PaulLX
  85. Internet: lpl@epavax.rtpnc.epa.gov
  86. AppleSeeds BBS (FIDONet 1:151/152)
  87. (919)481-4896 HST 14.4 kbps v.32bis
  88. (919)469-5867 28.8 kbps v.FC
  89.  
  90. Release Notes:
  91. 2.0 January 28, 1994
  92. -    Added status window.
  93. –    Fixed range check bug on Exceptions dialog.
  94. –    Exceptions dialog now lists applications by name, rather than creator.
  95. -    Improved interface.
  96. -    Fixed event loop bug where PullProcess didn't work right if it was in the foreground.